import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//导入清楚默认的css
import './assets/reset.css'
import http from './http'

import {Col, Icon, NavBar, Row, Tab, Tabs, Tag, Swipe, SwipeItem,Lazyload,Image as VanImage} from 'vant'

Vue.config.productionTip = false
Vue.use(NavBar).use(Icon).use(Tab).use(Tabs).use(Row).use(Col).use(Tag)
.use(Swipe).use(SwipeItem).use(Lazyload).use(VanImage)

Vue.prototype.$http = http
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
